//
//  ZBBezierPathModel.m
//  ZBDrawingTool
//
//  Created by apple on 2018/6/5.
//  Copyright © 2018年 apple. All rights reserved.
//

#import "ZBBezierPathModel.h"

@implementation ZBBezierPathModel
- (instancetype)init
{
    if(self = [super init]){
        
        self.path = [UIBezierPath bezierPath];
        
        // 设置默认连接处的样式
        [self.path setLineJoinStyle:kCGLineJoinRound];
        
        // 设置默认头尾的样式
        [self.path setLineCapStyle:kCGLineCapRound];
        
         //设置默认的线宽
        self.path.lineWidth = DEFAULT_LINEWIDTH;
        
        //设置默认的颜色
        self.lineColor = DEFAULT_LINECOLOR;
    }
    return self;
}
@end
